package com.westa.smallshop.shop;

import com.westa.smallshop.common.BaseListView;
import com.westa.smallshop.common.BasePresenter;
import com.westa.smallshop.data.Base;
import com.westa.smallshop.data.GoodsItem;

import java.util.List;

/**
 * Created by cy on 10/26/16.
 */

interface ShopContract {

    interface View<O extends Base> extends BaseListView<Presenter, O> {

        void showRefreshSuccessful(List<GoodsItem> goodsItems);
    }

    interface Presenter extends BasePresenter {

        void refreshData();

        void loadMoreData(String currentPage);

        List<String> getPagerImageUrl();
    }
}
